<!doctype html>
<html>
<head>
    {% if tishi == "注册成功" %}
    <meta http-equiv="refresh" content="3;URL=/">
    {% endif %}
    <title>注册</title>
</head>
<style>
	input{
    outline-style: none ;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 10px 14px;
    width: 20%;
    font-size: 14px;
    font-weight: 700;
    font-family: "Microsoft soft";
}
	input:focus{
                    border-color: #66afe9;
                    outline: 0;
                    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
                    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
            }


</style>
<body style="text-align:center">
<p align="center" style="font-size: 40px;color: red">{{ tishi }}</p>
    {% if tishi == "注册成功" %}
        <p style="font-size: 40px;color: red;text-decoration:none" href="/">3s后自动登录并返回首页</p>
    {% endif %}
<form action="/login/registering_" method="post" style="text-align:center;">
    {% csrf_token %}
    <p>用户名：<input type="text" name="username"></p>
    <p>邮箱：<input type="text" name="email"></p>
    <p>密码：<input type="password" name="password"></p>
    <p>确认密码：<input type="password" name="password2"></p>
    <p>认证码：<input type="text" name="rz"></p>
    <input type="submit" value="注册">
</form>
</body>
</html>
